#include("../../comm/FormHead.html")
<div id="main">
    <div style="margin: 10px">
        <form action="" class="layui-form" lay-filter="form">
            <input type="hidden" id="actions" name="actions" value="#(form.actions)">
            #(token??)

            <div class="layui-row">
                <div class="layui-col-md12">
                    <div class="layui-form-item">
                        <label class="layui-form-label">参数标题</label>

                        <div class="layui-input-block">
                            <input type="text" name="cf_title" readonly value="#(cf.cf_title)" class="layui-input input-readonly">
                        </div>
                    </div>
                </div>
            </div>
            <div class="layui-row">
                <div class="layui-col-md12">
                    <div class="layui-form-item">
                        <label class="layui-form-label">参数KEY</label>

                        <div class="layui-input-block">
                            <input type="text" name="cf_key" readonly value="#(cf.cf_key)" class="layui-input input-readonly">
                        </div>
                    </div>
                </div>
            </div>
            <div class="layui-row">
                <div class="layui-col-md12">
                    <div class="layui-form-item">
                        <label class="layui-form-label">参 数 值</label>

                        <div class="layui-input-inline" style="width:300px">
                            #(form.data.cfvalueHtml)
                        </div>
                        <div class="layui-form-mid layui-word-aux">*必填</div>
                    </div>
                </div>
            </div>
            <div class="layui-row">
                <div class="layui-col-md12">
                    <div class="layui-form-item">
                        <label class="layui-form-label">参数说明</label>

                        <div class="layui-input-block">
                            <textarea name="cf_desc" placeholder="备注说明" class="layui-textarea" style="min-height:150px">#(cf.cf_desc)</textarea>
                        </div>
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-input-block">
                    <button type="submit" class="layui-btn" lay-submit="" lay-filter="Submit1">立即提交</button>
                    <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                </div>
            </div>
        </form>
    </div>
</div>
<SCRIPT LANGUAGE="JavaScript">
    <!--
    layui.use(['form', 'myTool'], function () {
        var form = layui.form;
        var $ = layui.$;
        form.on('submit(Submit1)', function (data) {
            layui.myTool.post("ModifySysConfigApi", {postdata: JSON.stringify(data.field)}, function () {
                top.layer.closeAll();
            });
            return false;
        });
    });
    //-->
</SCRIPT>
</body>
</html>